/*
 * Copyright 2004-2009 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package susano.presen.util;

/**
 * Constants for susano-presen.
 *
 * @author tanaka.akira.2006
 *
 */
public interface PresenConstants {

    /**
     * The key of configuration setting for request character set.
     */
    String REQUEST_CHARSET_KEY = "javax.servlet.jsp.jstl.fmt.request.charset";

    /**
     * The default request character set.
     */
    String DEFAULT_REQUEST_CHARSET = "UTF-8";

    /**
     * The key of configuration setting for i18n localization context.
     */
    String LOCALIZATION_CONTEXT_KEY =
        "javax.servlet.jsp.jstl.fmt.localizationContext";

    /**
     * The default value of configuration setting for i18n localization context.
     */
    String DEFAULT_LOCALIZATION_CONTEXT = "application";

    /**
     * The key of configuration setting for application based preferred locale.
     */
    String LOCALE_KEY = "javax.servlet.jsp.jstl.fmt.locale";

    /**
     * The key of localization setting for time zone.
     */
    String TIME_ZONE_KEY = "javax.servlet.jsp.jstl.fmt.timeZone";

    /**
     * The key of root package.
     */
    String ROOT_PACKAGE_KEY = "susano.rootPackage";

	/**
	 * The key of errors.
	 */
	String ERRORS_KEY = "errors";

    /**
     * The key of action.
     */
    String ACTION_KEY = "susano.action";

    /**
     * The suffix of controller.
     */
    String ACTION_SUFFIX = "Action";

    /**
     * The index controller.
     */
    String INDEX_ACTION = "Index" + ACTION_SUFFIX;

    /**
     * The default controller package name.
     */
    String DEFAULT_ACTION_PACKAGE = "action";
}
